package com.arpa.wms.domain.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * 报损单 状态
 * @author jinss
 * @date 2020-12-22 10:02:58
 **/
public enum DamagedStatusEnum implements IEnum<String> {
    /**
     * 报损单 状态
     */
    NEW("0", "新增"),
    WAIT_AUDIT("1", "待审核"),
    PASS("2", "审核通过"),
    REJECTED("3", "驳回"),
    INVALID("4", "作废");

    /**
     * 值
     */
    private final String value;

    /**
     * 描述
     */
    private final String desc;

    DamagedStatusEnum(final String value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public String toString(){
        return this.desc;
    }

    public String getDesc() {
        return this.desc;
    }
}
